<%@page import="java.util.List"%>
<%@page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../css/bootstrap.min.css" type="text/css" />
<title>查询知识条目</title>
<style>
.container {
	margin-top: 50px;
}

#idx {
	margin-right: 10px;
}
</style>
</head>
<body>
	<div class="container">
		<div class="row">
			<form action="" method="get">
			<p>当前用户：${sessionScope.USER.username }&nbsp;&nbsp;&nbsp;&nbsp;上次登录时间：${sessionScope.USER.lasttime}</p>
				<table
					class="table table-hover text-center table-bordered table-condensed"
					align="center" border="1" cellspacing="0" cellpadding="0"
					width="100%">
		<thead>
			<tr class="danger" align="center" hight="50">
				<th field="id" width="70">编号</th>
				<th field="orderno" width="150">订单编号</th>
				<th field="ordertime" width="200">下单时间</th>
				<th field="uid" width="80">用户ID</th>
				<th field="money" width="120">订单总金额</th>
				<th field="statu" width="50">状态</th>
				<th field="orderfrom" width="300">订单来源</th>
				<th field="coname" width="120">收货人姓名</th>
				<th field="conphone" width="150">收货人电话</th>
				<th field="conloc" width="200">收货人地址</th>
			</tr>
			</thead>
			<c:if test="${empty sessionScope.ORDER }">
				<tr>
					<td colspan='10'>暂时没有相关信息</td>
				</tr>
			</c:if>
			<c:if test="${not empty sessionScope.ORDER }">
				<c:forEach items="${sessionScope.ORDER }" var="ol">
					<tr>
						<td>${ol.id }</td>
						<td>${ol.orderno }</td>
						<td>${ol.ordertime }</td>
						<td>${ol.uid }</td>
						<td>${ol.money }</td>
						<td>${ol.statu }</td>
						<td>${ol.orderfrom }</td>
						<td>${ol.coname }</td>
						<td>${ol.conphone }</td>
						<td>${ol.conloc }</td>
					</tr>
				</c:forEach>
			</c:if>
		
				</table>
			</form>
		</div>
	</div>

</body>
</html>